/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bw.owl;

import org.semanticweb.owlapi.model.OWLNamedIndividual;

/**
 *
 * @author Agnieszka
 */
public class Pracownik extends Koncept {
     private OWLNamedIndividual indywidulum;
     private String bezURLa;

     public Pracownik(OWLNamedIndividual indywidulum, String bezURLa){
         this.indywidulum = indywidulum;
         this.bezURLa = bezURLa.substring(bezURLa.indexOf('#') + 1, bezURLa.length() - 1);
     }

    public OWLNamedIndividual getIndywidulum() {
        return indywidulum;
    }

    public String getBezURLa() {
        return bezURLa;
    }

    @Override
    public String toString() {
        return bezURLa;
    }

    
}
